#include<iostream>
using namespace std;
class CBug{
	int legnum,color;
	public:
		CBug(int ln,int cl):legnum(ln),color(cl)
		{
			cout<<"CBug Constructor"<<endl;
		};
		~CBug()
		{
			cout<<"CBug Destructor"<<endl;
		}
		void PrintInfo()
		{
			cout<<legnum<<","<<color<<endl;
		}
}; 
int main()
{
    CBug bug1(6, 1);
    bug1.PrintInfo(); 
    return 0;
}
